export default({
    filterList=[],
    values
}:any)=>{
    let resultList = filterList;
    if(values.startNum){//存在开始number
        resultList = resultList.filter((item:[])=>{
            let number1 = parseInt(item[0]);
            if(number1 == parseInt(values.startNum)){
                return true;
            }
            return false;
        })
    }

    if(values.endNum){//存在结尾number
        resultList = resultList.filter((item:[])=>{
            let number6 = parseInt(item[5]);
            if(number6 == parseInt(values.endNum)){
                return true;
            }
            return false;
        })
    }
    
    return resultList;
}